package com.lagou.lagouserviceuser;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement//开启事务支持
@SpringBootApplication
@EnableDiscoveryClient//开启服务注册发现功能
@EnableFeignClients//开启远程调用支持组件feign
public class LagouServiceUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(LagouServiceUserApplication.class, args);
    }

}
